#pragma once
#include "Singleton.h"
#include "Robot.h"

class RobotManager : public Singleton<RobotManager>
{
	friend Singleton;
private:
	// constructor.
	RobotManager();

	// destructor.
	~RobotManager();
public:
	void OnUpdate(float frameTime);

	void OnPreRender();

	std::shared_ptr<Robot> CreateRobot();

	std::shared_ptr<Robot> GetRobot(uint _uid);
private:
	std::map<uint, std::shared_ptr<Robot>> m_RobotMap;
};